package org.xm.sk.vo.ob;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "Payarg", description = "微信支付请求参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Payarg {

    @ApiModelProperty(value = "小程序ID", dataType = "string", example = "wxd678efh567hg6787")
    String appId;

    @ApiModelProperty(value = "随机串", dataType = "string", example = "5K8264ILTKCH16CQ2502SI8ZNMTM67VS")
    String nonceStr;

    @JsonProperty("package")
    @ApiModelProperty(value = "数据包", dataType = "string", example = "prepay_id=wx2017033010242291fcfe0db70013231072")
    String packageStr;

    @ApiModelProperty(value = "签名", dataType = "string", example = "22D9B4E54AB1950F51E0649E8810ACD6")
    String sign;

    @ApiModelProperty(value = "签名方式", dataType = "string", example = "MD5")
    String signType;

    @ApiModelProperty(value = "时间戳", dataType = "string", example = "1490840662")
    String timeStamp;

}
